package com.es.www.firstWay;

/**
 * @Created by michangtao
 * @Date 2022/5/16 13:20
 * @Description
 */
public class Client {

    public static void main(String[] args) {
//        HouseDirector houseDirector = new HouseDirector(new CommonHouseBuilder());
        HouseDirector houseDirector = new HouseDirector(new HighBuildingHouseBuilder());
        House house = houseDirector.create();
        System.out.println(house);
    }
}
